﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Chalange2
{
    class Entery
    {
        string product;
        string Quantity;
        decimal price;
        string location;
        decimal Sum;

        public string Product
        {
            get
            {
                return product;
            }
            set
            {
                product = value;
            }
        }

        public string PQuantity
        {
            get
            {
                return Quantity;
            }
            set
            {
                Quantity = value;
            }
        }

        public decimal Price
        {
            get
            {
                return price;
            }
            set
            {
                price = value;
            }
        }

        public string Location
        {
            get
            {
                return location;
            }
            set
            {
                location = value;
            }
        }

        public decimal PSum
        {
            get
            {
                return Sum;
            }
            set
            {
                Sum = value;
            }
        }

        public Entery(string product, string quantity, decimal price, string location, decimal sum)
        {
            this.product = product;
            Quantity = quantity;
            this.price = price;
            this.location = location;
            Sum = sum;
        }
    }
}
